import { createRouter, createWebHistory,createWebHashHistory } from 'vue-router'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/hot',
      name: 'hot',
      component: () => import('../views/hot/index.vue'),
      meta:{
        menuName:"3D热力图",
      },
    },
    {
      path: '/hot-2',
      name: 'hot-2',
      component: () => import('../views/hot-2/index.vue'),
      meta:{
        menuName:"平面热力图",
      },
    },
    {
      path: '/city',
      name: 'city',
      component: () => import('../views/city/index.vue'),
      meta:{
        menuName:"城市",
      },
    },
    {
      path: '/city1',
      name: 'city1',
      component: () => import('../views/city1/index.vue'),
      meta:{
        menuName:"城市模型",
      },
    },
    {
      path: '/panorama',
      name: 'panorama',
      component: () => import('../views/panorama/index.vue'),
      meta:{
        menuName:"全景",
      },
    },
    {
      path: '/city-light',
      name: 'city-light',
      component: () => import('../views/city-light/index.vue'),
      meta:{
        menuName:"城市-发光",
      },
    },
  ]
})

export default router
